package org.dx.oho.entity;

import java.util.Date;
import java.util.Objects;

/**
 * create by duanx 2020/11/9
 *@description： 基类
 *@classname: BaseEntity
 *@author: duanx
 *@date: 2020/11/9 17:34
 **/
public class BaseEntity {
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 最后修改时间
     */
    private Date lastEditTime;


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastEditTime() {
        return lastEditTime;
    }

    public void setLastEditTime(Date lastEditTime) {
        this.lastEditTime = lastEditTime;
    }

    @Override
    public String toString() {
        return "BaseEntity{" +
                "createTime=" + createTime +
                ", lastEditTime=" + lastEditTime +
                '}';
    }
}
